package com.ark.cloud.dataservices.modules.sys.dao;

import com.ark.cloud.dataservices.modules.sys.entity.po.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> getbycode(@Param("code") String code);
}